﻿using System.Collections.Generic;
using TimberSmart.Model.Security;

namespace TimberSmart.Business.Contracts
{
    public interface IUserService
    {
        IResponse<User> FindAllUsers(IAuthToken token);
        User FindUserByUsername(string username);
        User FindUserByCredentials(string username, byte[] passwordHash);
        void AddUser(User user);
        void UpdateUser(User user);
        void DeleteUser(User user);
        void DeleteUser(int id);
    }
}
